const app = getApp();
Page({
    data: {
		info:'',
		banner:'',
    },
    onLoad: function (options) {

    },
    onReady: function () {

    },
    onShow: function () {
        let info = wx.getStorageSync('info');
        this.setData({
            info:info
        })
    },
    onHide: function () {

    },
    jumpto(e){
        wx.removeStorageSync('info');
        wx.navigateTo({
            url: '../login/login',
        })
    },
    jump(){
      wx.navigateTo({
        url: '../login/login',
      })
	},
	onShareAppMessage: function (res) {
		return {
		  title: '小程序分享',
		  path: '/pages/index/index',
		  success: function (res) {
			console.log('成功', res)
		  }
		}
	}
})